package cn.itcast.user.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @Author:王亚栋
 * @Date: 2023/5/24 下午10:11
 * @Version:1.0
 * 实现热部署的第二种方式
 */
@Data
@Component
@ConfigurationProperties(prefix = "user")
public class PropertiesConfig {

    private String name;
    private String password;
    private String name1;
}
